package com.furongji.education.domain.po;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.swing.*;

/**
 * <p>
 *
 * </p>
 *
 * @author furongji
 * @since 2025-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("course_view_log")
@Schema(description = "课程日志表")
public class CourseViewLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "日志ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "课程ID")
    private String courseId;

    @Schema(description = "课程名称")
    private String courseTitle;

    @Schema(description = "课程ID")
    private String userId;

    @Schema(description = "课程ID")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime viewTime;


}
